package com.abc.cloud.service;

import com.abc.cloud.dto.im.ContactsApplyResp;
import com.abc.cloud.vo.im.ContactsApplyReq;
import com.baomidou.mybatisplus.extension.service.IService;
import com.abc.cloud.common.utils.PageUtil;
import com.abc.cloud.entity.ContactsApplyEntity;

import java.util.List;
import java.util.Map;

/**
 * 好友/群聊申请表
 *
 * @author LiJunXi
 * @email 2770063826@qq.com
 * @date 2023-11-29 13:19:41
 */
public interface ContactsApplyService extends IService<ContactsApplyEntity> {

    PageUtil queryPage(Map<String, Object> params);

    void saveContactsApply(ContactsApplyReq contactsApplyReq, Long userId, String username);

    List<ContactsApplyResp> listApply();

    void examineById(Long userId, String username, Long id, Integer status, String note, Long groupId);

    void deleteAllOpContactsApply(Long userId, Integer status);
}

